const http = uni.$u.http
// 分类
export const category = (data) => http.get('cover/category', {
	params: data
})
// 列表
export const lists = (data) => http.get('cover/lists', {
	params: data
})
// 详情
export const detail = (data) => http.get('cover/detail', {
	params: data
})
// 领取
export const receive = (data) => http.post('cover/receive', data)
// 订阅消息
export const subscribe = (data) => http.post('cover/subscribe', data)
// 设置封面页面路径
export const SetCoverUrl = (data) => http.post('cover/onSetUrl', data)